package com.jsyl.lwbk.business.service.impl;

import com.jsyl.lwbk.business.domain.IntegrationTrainAmount;
import com.jsyl.lwbk.business.mapper.IntegrationTrainAmountMapper;
import com.jsyl.lwbk.business.service.IntegrationTrainAmountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * @author Fitch
 * 2022/2/9
 */
@Service
public class IntegrationTrainAmountServiceImpl implements IntegrationTrainAmountService {
    @Autowired
    private IntegrationTrainAmountMapper integrationTrainAmountMapper;

    @Override
    public List<IntegrationTrainAmount> findList(String projectCode) {
        List<IntegrationTrainAmount> list = integrationTrainAmountMapper.findList(projectCode);
        return list;
    }

    @Override
    public List<IntegrationTrainAmount> listByChild(Long childId, String projectCode) {
        return this.integrationTrainAmountMapper.listByChild(childId,projectCode);
    }
}
